package com.ce.pms.system.occupation.model;

// Generated 2008-12-24 13:41:51 by Hibernate Tools 3.2.0.b9

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:承包商信息设置 关联数据表:OM_CONTRACTOR_INFO_CONFIG
 *
 * @author yandawei
 * @CreateDate:2008-12-24
 */
@Entity
@Table(name = "OM_CONTRACTOR_INFO_CONFIG")
public class ContractorInfoConfigDO implements IDomainObject {

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue
	@Column(name = "CONTRACTOR_INFO_ID", unique = true, nullable = false)
	private Long keyword;

	/**
	 * 承包商名称
	 */
	@Column(name = "CONTRACTOR_INFO_NAME", nullable = false, length = 80)
	private String contractorInfoName;

	/**
	 * 主营业务
	 */
	@Column(name = "MAIN_OPERATION", length = 200)
	private String mainOperation;

	/**
	 * 联系人
	 */
	@Column(name = "LINKMAN", nullable = false, length = 36)
	private String linkman;

	/**
	 * 联系电话
	 */
	@Column(name = "LINKMAN_PHONE", nullable = false, length = 30)
	private String linkmanPhone;

	/**
	 * 公司地址
	 */
	@Column(name = "COMPANY_ADDR", length = 150)
	private String companyAddr;

	/**
	 * 序号
	 */
	@Column(name = "SEQUENCE")
	private Short sequence;

	/**
	 * 系统信息
	 */
	@Embedded
	@AttributeOverride(name="sysDate",column=@Column(name="SYS_DATE"))
	private SysInfo sysInfo;

	public ContractorInfoConfigDO() {
	}

	public ContractorInfoConfigDO(Long keyword) {
		this.keyword = keyword;
	}

	public String getContractorInfoName() {
		return this.contractorInfoName;
	}

	public void setContractorInfoName(String contractorInfoName) {
		this.contractorInfoName = contractorInfoName;
	}

	public String getMainOperation() {
		return this.mainOperation;
	}

	public void setMainOperation(String mainOperation) {
		this.mainOperation = mainOperation;
	}

	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getLinkmanPhone() {
		return this.linkmanPhone;
	}

	public void setLinkmanPhone(String linkmanPhone) {
		this.linkmanPhone = linkmanPhone;
	}

	public String getCompanyAddr() {
		return this.companyAddr;
	}

	public void setCompanyAddr(String companyAddr) {
		this.companyAddr = companyAddr;
	}

	public Short getSequence() {
		return this.sequence;
	}

	public void setSequence(Short sequence) {
		this.sequence = sequence;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public SysInfo getSysInfo() {
		return sysInfo;
	}

	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

}
